package com.hk.Mgr.web.message.department;

public class OrganizationRes implements java.io.Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 947300410783198158L;
	
	private Integer id;
	
	private Integer parentID;

	/** 组织结构类别
	 * 1 : 集团
	 * 2 : 公司
	 * 3 : 部门
	 * 4 : 职务
	 * */
	private Integer orgType;
	
	
	/** 助记码 */
	private String code;
	
	/** 创建人*/
	private String creator;
	
	/** 节点名称 */
	private String name;
	
	 

	/** 记录创建时间 */
	private Long cts;

	/** 记录修改时间 */
	private Long updatedts;

	/** 状态： 1 有效 、20无效 */
	private Integer state;

	/** 是否是部门负责人 **/
	
	private Integer isHeader;
	
	private Long userId;

	private int status;
	
	private String flag01;
	
	private String flag02;
	
	/** 用户名 */
	private String userName;

	public Integer getOrgType() {
		return orgType;
	}

	public void setOrgType(Integer orgType) {
		this.orgType = orgType;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getCts() {
		return cts;
	}

	public void setCts(Long cts) {
		this.cts = cts;
	}

	public Long getUpdatedts() {
		return updatedts;
	}

	public void setUpdatedts(Long updatedts) {
		this.updatedts = updatedts;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getIsHeader() {
		return isHeader;
	}

	public void setIsHeader(Integer isHeader) {
		this.isHeader = isHeader;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getFlag01() {
		return flag01;
	}

	public void setFlag01(String flag01) {
		this.flag01 = flag01;
	}

	public String getFlag02() {
		return flag02;
	}

	public void setFlag02(String flag02) {
		this.flag02 = flag02;
	}

	public Integer getParentID() {
		return parentID;
	}

	public void setParentID(Integer parentID) {
		this.parentID = parentID;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}
